<template>
  <div>
    <input type="button" value="获取数据" onclick="getData()" />
    <div id="div1"></div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      name: "",
    };
  },
};
</script>
